package com.taskmanagement.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Task {
    private BigInteger id;
    private BigInteger userId;
    private String title;
    private String description;
    private String status;
    private Integer priority;  // 新增优先级字段
    private Date createdAt;
    private Date updatedAt;
    private Date expectedEndDate;
    private Date actualEndDate;

    // 新增字段，不映射到数据库
    private BigInteger totalSteps;
    private BigInteger completedSteps;
}
